@file:JvmName("StingTest")
package cn.yza.Kotlin.`01`

import java.util.*

/**
@author Honglixi
@create 2022-05-26 19:52
 */
fun main() {
    val binaryReps = TreeMap<Char, String>()
    for (c in 'A' .. 'F') {
        val binary = Integer.toBinaryString(c.toInt())
//        println(binary)
        binaryReps[c] = binary
    }
    for ((a, b) in binaryReps) {
        println("$a = $b")
    }
    val listOf = listOf(1, 2, 3)
    println(listOf)
}